<?php

namespace com\aristo\ingenieros\view;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of PersonEntityView
 *
 * @author ARISTO INGENIEROS
 */
class PersonEntityView {

    private $id;
    private $tipo;
    private $dni;
    private $nombres;
    private $apellidop;
    private $apellidom;
    private $sexo;
    private $direccion;
    private $correo;
    private $ruc;
    private $razonsocial;

    function __construct() {
        $this->id = NULL;
        $this->tipo = NULL;
        $this->dni = NULL;
        $this->nombres = NULL;
        $this->apellidop = NULL;
        $this->apellidom = NULL;
        $this->sexo = NULL;
        $this->direccion = NULL;
        $this->correo = NULL;
        $this->ruc = NULL;
        $this->razonsocial = NULL;
    }

    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getTipo() {
        return $this->tipo;
    }

    public function setTipo($tipo) {
        $this->tipo = $tipo;
    }

    public function getDni() {
        return $this->dni;
    }

    public function setDni($dni) {
        $this->dni = $dni;
    }

    public function getNombres() {
        return $this->nombres;
    }

    public function setNombres($nombres) {
        $this->nombres = $nombres;
    }

    public function getApellidop() {
        return $this->apellidop;
    }

    public function setApellidop($apellidop) {
        $this->apellidop = $apellidop;
    }

    public function getApellidom() {
        return $this->apellidom;
    }

    public function setApellidom($apellidom) {
        $this->apellidom = $apellidom;
    }

    public function getSexo() {
        return $this->sexo;
    }

    public function setSexo($sexo) {
        $this->sexo = $sexo;
    }

    public function getDireccion() {
        return $this->direccion;
    }

    public function setDireccion($direccion) {
        $this->direccion = $direccion;
    }

    public function getCorreo() {
        return $this->correo;
    }

    public function setCorreo($correo) {
        $this->correo = $correo;
    }

    public function getRuc() {
        return $this->ruc;
    }

    public function setRuc($ruc) {
        $this->ruc = $ruc;
    }

    public function getRazonsocial() {
        return $this->razonsocial;
    }

    public function setRazonsocial($razonsocial) {
        $this->razonsocial = $razonsocial;
    }

    public function toJSON() {
        return get_object_vars($this);
    }

}